﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="SalesProcAuditing.aspx.cs" Inherits="App_Input_SalesProcAuditing" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<script language="javascript">
function popPersonPop(id,name)
{
    window.open('../Commons/PersonPop.aspx?ID='+id+"&NAME="+name,'PersonPop','scrollbars,resizable');
}
</script>
    <table class="table_border_line">
        <tr>
            <td style="height: 25px">

                <script language="javascript">
                                (new TitleBar('SearchBar', '检索条件')).showBar();
                </script>

            </td>
        </tr>
        <tr>
            <td style="height: 25px; text-align: center">
            </td>
        </tr>
        <tr>
            <td style="height: 25px; text-align: center;">
                <asp:Label ID="Label1" runat="server" Text="人员编号:"></asp:Label>
                <asp:TextBox ID="personId" runat="server" Width="99px" MaxLength="8"></asp:TextBox>
                <asp:TextBox ID="personName" runat="server" Width="99px" BackColor="#E0E0E0"></asp:TextBox><a href="#" onclick="javascript:popPersonPop('<%=personId.ClientID%>','<%=personName.ClientID%>');">
                    <img id="searchImg" runat="server" border="0" src="../../images/search.jpg" /></a></td>
        </tr>
        <tr align="center">
            <td align="center" style="height: 25px; text-align: center;">
                <asp:Button ID="btnSeach" OnClick="btnSeach_Click" runat="server" Width="6%" Text="检 索"
                    CssClass="button"></asp:Button></td>
        </tr>
        <tr style="width:80px; height: 24px;">
                    <td style="height: 25px">
                <script language="javascript">
                                (new TitleBar('SearchBar', '检索结果')).showBar();
                </script>
            </td>
        </tr>
    </table>
    <asp:GridView ID="viewSrhRst" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        CssClass="GridView_table" DataKeyNames="SaleProcId" OnPageIndexChanging="viewSrhRst_PageIndexChanging"
        OnRowEditing="viewSrhRst_OnRowEditing" BorderStyle="Solid" BorderWidth="3px">
        <Columns>
            <asp:BoundField HeaderText="过程编号" DataField="SaleProcId">
                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_left" />
            </asp:BoundField>
            <asp:BoundField HeaderText="姓名" DataField="Namec">
                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_left" />
            </asp:BoundField>
            <asp:BoundField HeaderText="性别" DataField="Sex">
                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                <ItemStyle CssClass="GridView_item_center" />
            </asp:BoundField>
            <asp:BoundField HeaderText="婚姻状况" DataField="Marriage">
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
            </asp:BoundField>
            <asp:BoundField HeaderText="生日" DataField="Brithday" DataFormatString="{0:yyyy/MM/dd}" HtmlEncode="False">
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
            </asp:BoundField>
            <asp:ButtonField ButtonType="Image" CommandName="Edit" HeaderText="详细" ImageUrl="~/images/in.gif">
                <ItemStyle CssClass="GridView_item_center" />
                <HeaderStyle Width="5%" CssClass="GridView_head_grayblue" />
            </asp:ButtonField>
        </Columns>
        <PagerSettings Mode="NumericFirstLast" />
        <PagerStyle HorizontalAlign="Right" />
    </asp:GridView>
</asp:Content>
